<%-- 
    Document   : perfilProfesor
    Created on : 04/06/2010, 11:41:19 AM
    Author     : lkina
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="java.util.*"%>
<%@ page import="pe.edu.upc.dew.profesoresparticulares.model.Usuario"%>

<%List<Map> menus = (List<Map>)request.getSession().getAttribute("MENU");%>
<%Usuario user = (Usuario)request.getSession().getAttribute("USUARIO");%>


<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Bienvenido | Profesores Particulares</title>
        <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
        <meta name="author" content="fullahead.org" />
        <meta name="keywords" content="XHTML, CSS, template, FullAhead" />
        <meta name="description" content="A valid, XHTML 1.0 template" />
        <meta name="robots" content="index, follow, noarchive" />
        <meta name="googlebot" content="noarchive" />

        <link rel="stylesheet" type="text/css" href="css/html.css" media="screen, projection, tv " />
        <link rel="stylesheet" type="text/css" href="css/layout.css" media="screen, projection, tv" />
        <link rel="stylesheet" type="text/css" href="css/print.css" media="print" />

    </head>

    <body>
        <!-- #wrapper: centers the content and sets the width -->
        <div id="wrapper">
            <!-- #content: applies the white, dropshadow background -->
            <div id="content">
                <div id="header">
                    <h1><span class="big darkBrown">P</span>rofesores <span class="big darkBrown">P</span>articulares</h1>
                    <h2><span class="highlight">Reserva tu curso y profesor favorito en un par de clicks.</span></h2>
                </div>

                <ul id="menu" class="six">
                    <%for (int i = 0; i < menus.size(); i++) {%>
                    <li><a href="<%=request.getContextPath()%>/<%=((Map) menus.get(i)).get("url")%>" title="" class="here">
                            <span class="big"></span>
                            <%=((Map) menus.get(i)).get("descripcion")%>
                        </a></li>

                    <% }%>
                </ul>
                <!-- #page: holds all page content, as well as footer -->
                <div id="page">



          <td height="30"><strong>Codigo</strong></td>
          <td><input type="text" name="txtCodigo"  value=<%=user.getCodUsuario() %>/></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><strong>Nombre</strong></td>
          <td><label>
                  <input type="text" name="txtNombre" value=<%=user.getNomUsuario() %> />
          </label></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td height="17"><strong>Apellido Paterno </strong></td>
          <td><label>
            <input type="text" name="txtApellidoPaterno" value=<%=user.getApePaterno() %> />
          </label></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><strong>Apellido Materno </strong></td>
          <td><input type="text" name="txtApelidoMaterno" value=<%=user.getApeMaterno() %> /></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><strong>Mail</strong></td>
          <td><input type="text" name="txtmail"  value=<%=user.getMail() %>/></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><strong>contraseña</strong></td>
          <td><input type="text" name="txtpassword" /></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><strong>Curso</strong></td>
          <td><select name="select">
            <option value="1">Calculo 1</option>
            <option value="2">Calculo 2</option>
            <option value="3">Fisica 1</option>

          </select></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input name="submit" type="submit" id="search-submit" value="Grabar" />
          <input name="submit2" type="submit" id="submit" value="Borrar" /></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>
                    <p class="footer">
                        Design by <a href="http://fullahead.org" title="Visit FullAhead">FullAhead</a>.  Valid CSS &amp; XHTML with no rights reserved.
                    </p>

                </div>

            </div>

        </div>

    </body>

</html>